package com.pojo;

import java.util.ArrayList;
import java.util.List;

public class GameMap {
    private Integer id;
    private List<GameMap> adjacent;
    public static enum type {
        /**
         * 平地
         */
        start,
        /**
         * 平地
         */
        land,
        /**
         * 村庄
         */
        village,
        /**
         * 矿山
         */
        mine,
        /**
         * 终点
         */
        end
    }
    private type mapType;

    public GameMap(Integer id, ArrayList<GameMap> adjacent, type mapType) {
        this.id = id;
        this.adjacent = adjacent;
        this.mapType = mapType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public List<GameMap> getAdjacent() {
        return adjacent;
    }

    public void setAdjacent(List<GameMap> adjacent) {
        this.adjacent = adjacent;
    }

    public type getMapType() {
        return mapType;
    }

    public void setMapType(type mapType) {
        this.mapType = mapType;
    }

}
